package com.itheima.shop.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @program: design
 * @description:
 * @author: zhanghz001
 * @create: 2020-12-15 09:41
 **/
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
public abstract class Session {
    
    private String username;
    private String name;
    private String sex;
    private String role;
    private Integer level;
    
    //额外操作
    public abstract void handler();
}
